package com.ruiyi.careryun.service.user;

import java.util.List;

import com.ruiyi.careryun.beans.common.PageRequest;
import com.ruiyi.careryun.beans.user.UserInfo;
import com.ruiyi.careryun.common.PageModel;

public interface UserInfoService {
    public Integer add(UserInfo user) throws Exception;

    public PageModel<UserInfo> getListByPage(PageRequest pageRequest);

    public UserInfo getUserByName(String username);

    public List<String> getAuthorityByUserId(Integer userId);

    long getCount();
}
